package com.j180.order.bean;

import java.io.Serializable;
/*
 商品类
 */
public class ProductBean implements Serializable {
    /**
     * 编号
     */
    private Integer id;
    /**
     * 商品名称
     */
    private String productName;
    /**
     * 商品价格
     */
     private double price;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }


    @Override
    public String toString() {
        return "ProductBean{" +
                "id=" + id +
                ", productName='" + productName + '\'' +
                ", price=" + price +
                '}';
    }
}
